﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage/TrangKhach.Master" AutoEventWireup="true"
    CodeBehind="TaiLieuHocTap.aspx.cs" Inherits="DT5_Anh09110006_Hung09110044_Vu09110157.TaiLieuHocTap" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        #KhungTai
        {
        	margin-left:40%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1 style="text-align: center;">
        Các tài liệu tham khảo - học tập được public, bạn có thể tải về thoải mái</h1>
    <div id="KhungTai">
        <asp:GridView ID="grvTaiLieu" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            CellPadding="4" ForeColor="#333333" GridLines="Both" 
            onpageindexchanging="grvTaiLieu_PageIndexChanging" 
            onrowcommand="grvTaiLieu_RowCommand" Font-Bold="True" Font-Size="Large" 
            Font-Underline="False">
            <Columns>
                <asp:BoundField HeaderText="Tên Tài Liệu" DataField="TenTaiLieu" />
                <asp:TemplateField>
                    <HeaderTemplate>
                        Tải File</HeaderTemplate>
                    <ItemTemplate>
                        <asp:LinkButton ID="btnTaiFile" runat="server" CommandName="TaiFile" CommandArgument='<%# Eval("Nguon") %>'>Tải file</asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <AlternatingRowStyle BackColor="White" />
            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
            <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
            <SortedAscendingCellStyle BackColor="#FDF5AC" />
            <SortedAscendingHeaderStyle BackColor="#4D0000" />
            <SortedDescendingCellStyle BackColor="#FCF6C0" />
            <SortedDescendingHeaderStyle BackColor="#820000" />
        </asp:GridView>
    </div>
</asp:Content>
